package com.ynet.middleground.contract.bean;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 数据存证编号关联到指定用户请求类
 * @date 2020-04-15 23:39
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "数据存证编号关联到指定用户请求类", description = "场景式存证，数据存证编号关联到指定用户请求类")
public class RelateSceneEvIdWithUserReq extends BaseReqObj {

    private static final long serialVersionUID = -6096768704829874236L;

    @ApiModelProperty(value = "数据存证编号", notes = "数据存证编号", dataType = "String", required = true)
    @NotBlank(message = "数据存证编号不能为空")
    private String evid;

    @ApiModelProperty(value = "用户证件信息列表", notes = "用户证件信息列表", required = true)
    @NotNull(message = "用户证件信息列表不能为空")
    private List<CertificateBean> certificates;

}
